package com.yangj.entity;

import java.util.*;

public class PhotoOrAlbum extends AbstractButton
{
    private String type;
    private String key;
    private List<AbstractButton> sub_button;
    
    public String getKey() {
        return this.key;
    }
    
    public void setKey(final String key) {
        this.key = key;
    }
    
    public String getType() {
        return this.type;
    }
    
    public void setType(final String type) {
        this.type = type;
    }
    
    public List<AbstractButton> getSub_button() {
        return this.sub_button;
    }
    
    public void setSub_button(final List<AbstractButton> sub_button) {
        this.sub_button = sub_button;
    }
    
    public PhotoOrAlbum(final String name, final String key) {
        super(name);
        this.type = "pic_photo_or_album";
        this.key = key;
    }
}
